package com.xihua.sx.service;

import com.xihua.sx.pojo.PageData;
import com.xihua.sx.pojo.Reserve;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xihua.sx.pojo.ReserveSelectLike;
import com.xihua.sx.utils.ResponseMessage;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author astupidcoder
 * @since 2023-06-16
 */
public interface IReserveService {

    /**
     * 分页查询
     * @param pageData
     * @return
     */
    ResponseMessage reserveList(PageData pageData);

    ResponseMessage reserveOne(Integer id);

    /**
     * 新增车辆预约
     * @param reserve
     * @return
     */
    ResponseMessage insertReserve(Reserve reserve);

    /**
     * 删除
     * @param id
     * @return
     */
    ResponseMessage deleteReserve(Integer id);

    /**
     * 更新
     * @param reserve
     * @return
     */
    ResponseMessage updateReserve(Reserve reserve);

    /**
     * 车辆预定模糊查询，预定主题，车牌号，驾驶员姓名
     * @param reserveSelectLike
     * @return
     */
    ResponseMessage selectLike(ReserveSelectLike reserveSelectLike);



}
